import request from '@/utils/request'
//出库记录列表
export function listHouse(query){
  return request({
    url:'/module/outboundOrder/list',
    method:"get",
    params:query
  })
}
//获取出库详情
export function outOrderinfo(id) {
  return request({
    url:'/module/outboundOrder/'+id,
    method:"get",

  })
}
//新增出库订单
export  function addOrderApi(data){
  return request({
    url:'/module/outboundOrder',
    method:'POST',
    data,
  })
}
//修改出库订单
export function  editOrderApi(data){
  return request({
    url:'/module/outboundOrder',
    method:'put',
    data,
  })
}
//删除出库订单
export function delOrderApi(id){
  return request({
    url:'/module/outboundOrder/'+id,
    method:'DELETE'
  })
}
//获取出库单编号
export function getNoApi(data){
  return request({
    url:'/module/outboundOrder/getNo',
    method:'post',
    data
  })
}
//修改物流单的信息
export function putLoginstApi(data){
  return request({
    url:'/module/outboundOrder/editLogistics',
    method:'post',
    data
  })
}


